Image—Add some more missing (nullable) annotations
authorDaniel Boles <dboles@src.gnome.org>
Fri, 17 Feb 2017 22:01:32 +0000 (22:01 +0000)
committerDaniel Boles <dboles@src.gnome.org>
Fri, 17 Feb 2017 22:17:08 +0000 (22:17 +0000)
gtk/gtkimage.c

index 1ed309ffb54e2a2d932a214900a03c047f32852d..2d7c0e680666c72c61f9e0f6fc82acb2c70d593f 100644 (file)
@@ -657,7 +657,7 @@ gtk_image_new_from_animation (GdkPixbufAnimation *animation)
 
 /**
  * gtk_image_new_from_icon_name:
- * @icon_name: an icon name
+ * @icon_name: (nullable): an icon name or %NULL
  * @size: (type int): a stock icon size (#GtkIconSize)
  * 
  * Creates a #GtkImage displaying an icon from the current icon theme.
@@ -989,7 +989,7 @@ gtk_image_set_from_animation (GtkImage           *image,
 /**
  * gtk_image_set_from_icon_name:
  * @image: a #GtkImage
- * @icon_name: an icon name
+ * @icon_name: (nullable): an icon name or %NULL
  * @size: (type int): an icon size (#GtkIconSize)
  *
  * See gtk_image_new_from_icon_name() for details.